//
//  DeviceIPAddress.h
//  QuXiang
//
//  Created by Duncan on 2020/10/26.
//  Copyright © 2020 NanHuaiZi. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DeviceIPAddress : NSObject
/// 获取iphone的IP地址
+ (NSString *)getIPAddress:(BOOL)preferIPv4;

/**
 获取本机wifi环境下本机ip地址
 @return ip地址
 */
+ (NSString *)localIpAddressForCurrentDevice;

@end

NS_ASSUME_NONNULL_END
